package com.pinyoumei.app.adapter;

import android.support.annotation.Nullable;

import com.pinyoumei.app.R;
import com.pinyoumei.app.bean.TipBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by Administrator on 2020-12-11.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2020-12-11        Administrator             新增Person类
 * 2020-12-11        Administrator             增加sex属性
 */
public class ShopSearchHisAdapter extends BaseQuickAdapter<TipBean, BaseViewHolder> {
    public ShopSearchHisAdapter(int layoutResId, @Nullable List<TipBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, TipBean item) {
        helper.setText(R.id.tv_tip,item.getTip());
    }
}
